package org.yn.user.service;

import org.yn.base.service.IBaseService;
import org.yn.user.domain.User;
import org.yn.user.dto.BindSendSmsCodeDTO;
import org.yn.user.dto.RegisterDTO;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yn
 * @since 2023-08-26
 */
public interface IUserService extends IBaseService<User> {

    User selectByPhone(String phone);

    void register(RegisterDTO dto);

    Map<String, Object> wechatBind(BindSendSmsCodeDTO dto);
}
